<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>选择支付方式</title>
    <link rel="stylesheet" href="https://unpkg.com/element-plus/dist/index.css">
    <script src="https://unpkg.com/vue@3"></script>
    <script src="https://unpkg.com/element-plus"></script>
    <style>.container{max-width:600px;margin:0 auto;padding:16px}</style>
</head>
<body>
<div id="app" class="container">
    <el-page-header @back="go('/orders')" content="选择支付方式"></el-page-header>
    <el-card style="margin-top:12px;">
        <el-space direction="vertical" alignment="stretch" style="width:100%;">
            <el-button type="primary" @click="go('/pay/alipay')">支付宝</el-button>
            <el-button type="success" @click="go('/pay/wxpay')">微信支付</el-button>
        </el-space>
    </el-card>
</div>
<script>
const { createApp } = Vue
createApp({ setup(){ const go = (p)=>{ location.href = p }; return { go } } }).use(ElementPlus).mount('#app')
</script>
</body>
</html>



